package com.hms.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.hms.common.Pager;
import com.hms.dao.IBaseDao;
import com.hms.dao.IProjectsDao;
import com.hms.entity.TdProjects;
import com.hms.service.IProjectsService;

/**
 * 项目信息 <br>
 * 类详细说明.
 * <p>
 * Copyright: Copyright (c) 2013-4-13 上午11:37:33
 * <p>
 * Company: 北京宽连十方数字技术有限公司
 * <p>
 * 
 * @author wangpz@c-platform.com
 * @version 1.0.0
 */
@Service
public class ProjectsService extends BaseService<TdProjects, String> implements IProjectsService {

	@Resource
	private IProjectsDao projectsDao;

	@Override
	public IBaseDao<TdProjects, String> getDao() {
		return projectsDao;
	}

	@Override
	public List<TdProjects> getProjectsByCustomerId(String customerId) {
		return projectsDao.getProjectsByCustomerId(customerId);
	}

	@Override
	public Pager<TdProjects> findProjectsByPager(Pager<TdProjects> pager) {
		return projectsDao.findByPager(pager);
	}

}
